<?php 
//引进配置信息
include 'include/init.php';
//引入数据库配置信息
include 'include/mysql.config.php';
//引入公共函数
include 'include/common.fun.php';
include 'data/common_data.php';


if(!isset($_COOKIE['user_login']) || $_COOKIE['user_login']!=1){
	alert('请登录','user_login.php');
}

$id = $_COOKIE['user_id'];
$sql="SELECT * from wd_user where user_id=$id";
$info=$db->getOne($sql);
//加载视图页面
include 'view/user_center.php';




 ?>